package org.jeecg.modules.vue.knapsack.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: t_knapsack
 * @Author: jeecg-boot
 * @Date:   2023-05-29
 * @Version: V1.0
 */
@Data
@TableName("knapsack")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="knapsack对象", description="t_knapsack")
public class Knapsack implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**用户id*/
	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private Integer userId;
	/**道具id | 礼物id*/
	@Excel(name = "道具id | 礼物id", width = 15)
    @ApiModelProperty(value = "道具id | 礼物id")
    private Integer giftId;
	/**礼物数量，无限制*/
	@Excel(name = "礼物数量，无限制", width = 15)
    @ApiModelProperty(value = "礼物数量，无限制")
    private Integer numble;
	/**(废弃)背包容量，无限制*/
	@Excel(name = "(废弃)背包容量，无限制", width = 15)
    @ApiModelProperty(value = "(废弃)背包容量，无限制")
    private Integer capacity;
	/**(废弃)背包占用量，无限制*/
	@Excel(name = "(废弃)背包占用量，无限制", width = 15)
    @ApiModelProperty(value = "(废弃)背包占用量，无限制")
    private Integer occupyingDosage;
	/**0道具背包，1礼物背包*/
	@Excel(name = "0道具背包，1礼物背包", width = 15)
    @ApiModelProperty(value = "0道具背包，1礼物背包")
    private Integer type;

    public enum Type {
        ;

        public static final Integer PROP = 1;
    }
}
